var express = require('express');
var bodyParser = require('body-parser');
var apiRouter = require('./api_router.js');
const app = express();
app.use(bodyParser.urlencoded({ extended: true }));
app.use('/order', apiRouter);
app.listen(8080, () => console.log(`Server is running at http://localhost:8080`));